/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tarena.lbs.attach.pojo.po;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@TableName("attach")
@Data
public class AttachPO implements Serializable {
    @Schema(description = "文件id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @Schema(description = "文件uuid")
    private String fileUuid;
    @Schema(description = "客户端显示文件名")
    private String clientFileName;
    @Schema(description = "下载次数")
    private Integer downloadTimes;
    @Schema(description = "文件大小")
    private Integer contentLength;
    @Schema(description = "文件类型")
    private String contentType;
    @Schema(description = "是否封面")
    private Integer isCover;
    @Schema(description = "宽度")
    private Integer width;
    @Schema(description = "高度")
    private Integer height;
    @Schema(description = "业务类型 和具体的业务无关，如商家的营业执照，业务类型可用商家自定义营业职照业务类型关联")
    private Integer businessType;
    @Schema(description = "业务ID，和具体的业务无关，如商家的图片，业务id可用商家的唯一标识商家id关联")
    private Integer businessId;
    @Schema(description = "状态,后续扩展，暂时无其他状态")
    private Integer status;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "创建人ID")
    private Long createUserId;
    @Schema(description = "创建时间")
    private Long gmtCreate;
    @Schema(description = "更新人ID")
    private Long modifiedUserId;
    @Schema(description = "更新时间")
    private Long gmtModified;
    @Schema(description = "创建人")
    private String createUserName;
    @Schema(description = "更新人")
    private String modifiedUserName;
}

